package com.ecity.table {
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @author yicheng.zhang
	 */
	public class Ranking extends Sprite {
		
		private var _rankPanel:Sprite;
		
		public function Ranking(){
			
		}
		
		public function showRanking(ranking:int):void {
			_rankPanel = getLayer("rank_" + (ranking + 1));
			_rankPanel.x = 0;
			_rankPanel.y = -200;
			_rankPanel.alpha = 1;
			showPunish(ranking);
			TweenLite.to(_rankPanel, 0.5, {alpha:0,delay:5});
		}
		
	}

}